// css初始化
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
/* 声明字体*/
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
  }
body{
    background: url(../images/bj.jpg) no-repeat top center;
    line-height: 1.15;
    
}
header{
    height: 1.25rem;
    background: url(../images/head_bg.png) no-repeat;
    background-size: 100% 100%; 
    position: relative;
    h1{
        color: #fff;
        font-size: .475rem;
        text-align: center;
        line-height: 1rem;
    }
    .showTime{
        right: .375rem;
        top: 0;
        position: absolute;
        color: #fff;
        line-height: 1rem;
    }
}

// 页面主体盒子
.mainbox{
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    margin: 0 auto;
    padding: .125rem .125rem 0;
    // background-color: pink;
    .column{
        flex: 3;   //按照三份分布
        
    }
    .column:nth-child(2){   //找到第二个column
        flex: 5;
        margin: 0 .125rem .1875rem;
    }
    .panel{
        position: relative;
        height: 3.875rem;
        border: 1px solid rgba(25,186,139,0.17);
        background: url(../images/line.png) rgba(255, 255, 255, 0.03);
        padding: 0 .1875rem .5rem .1875rem;
        margin-bottom: .1875rem;
        &::before{  //设置左上角的三角
            position: absolute;
            top: 0;
            left: 0;
            width: 10px;
            height: 10px;
            border-top: 2px solid #02a6b5;
            border-left: 2px solid #02a6b5;

            content:""
        }
        &::after{  // 设置右上角的三角
            position: absolute;
            top: 0;
            right: 0;
            width: 10px;
            height: 10px;
            border-top: 2px solid #02a6b5;
            border-right: 2px solid #02a6b5;
            content:""
        }
        .panel-footer{ //下边两个三角
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            &::before{
                position: absolute;
                bottom: 0;
                left: 0;
                width: 10px;
                height: 10px;
                border-bottom: 2px solid #02a6b5;
                border-left: 2px solid #02a6b5;
    
                content:""
            }
            &::after{
                position: absolute;
                bottom: 0;
                right: 0;
                width: 10px;
                height: 10px;
                border-bottom: 2px solid #02a6b5;
                border-right: 2px solid #02a6b5;
                content:""
            }
        }
        h2{
            height: .6rem;
            color: #fff;
            line-height: 0.6rem;
            text-align: center;
            font-size: 0.25rem;
            font-weight: 400;
        }
        .chart {
            height: 3rem;
            
        }
    }
}

// no数字模块
.no{
   background: rgba(101, 131, 226, 0.1); 
   padding: .1875rem;
   .no-hd {
       position: relative;
        border: 1px solid rgba(25, 186, 139, 0.17);
        &::before{
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            height: 10px;
            width: 30px;
            border-top:  2px solid #02a6b5;
            border-left:  2px solid #02a6b5;

        }
        &::after{
            position: absolute;
            bottom: 0;
            right: 0;
            content: "";
            height: 10px;
            width: 30px;
            border-bottom:  2px solid #02a6b5;
            border-right:  2px solid #02a6b5;

        }
        ul{
            display: flex;
            li{
                position: relative;
                flex: 1;
                text-align: center;
                line-height: 1rem;
                font-size: .875rem;
                color: #ffeb7b;
                font-family: "electronicFont";  //设置声明好的字体
                &::after{
                    content: "";
                    position: absolute;
                    top:25%;
                    height: 50%;
                    right: 0;
                    width: 1px;
                    background: rgba(255, 255, 255, 0.2);;
                }
            }

        }
    }
    .no-bd{
        color: #fff;
        ul{
            display: flex;
            li{
                flex: 1;
                height: .5rem;
                text-align: center;
                color: rgba(255, 255, 255, 0.7);
                font-size: .225rem;
                padding-top: .125rem;
            }
        }
    }
}

// 地图模块
.map{
    height: 10.125rem;
    position: relative;
    // background-color: red;
    .map1{
        height: 6.475rem;
        width: 6.475rem;
        position:absolute;
        // 保持水平居中和垂直居中
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: url(../images/map.png);
        background-size: 100% 100%;
        opacity: 0.3; //设置透明度
    }
    .map2{
        height: 8.0375rem;
        width: 8.0375rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: url(../images/lbx.png) ;
        background-size: 100% 100%;
        opacity: .6;
        
        animation: rotate1 15s linear infinite;
    }
    .map3{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        height: 7.075rem;
        width: 7.075rem;
        background:url(../images/jt.png);
        background-size: 100% 100%;
        animation: rotate2 10s linear infinite;
        opacity: .6;

    }
    .chart{
        width: 100%;
        height: 100%;
        opacity: .9;
    }
    @keyframes rotate1 {
        form{
            transform: translate(-50%,-50%)
            rotate(0deg);
        }
        to{
            transform: translate(-50%,-50%)
            rotate(360deg);
        }
    }
    @keyframes rotate2 {
        form{
            transform: translate(-50%,-50%)
            rotate(0deg);
        }
        to{
            transform: translate(-50%,-50%)
            rotate(-360deg);  //逆时针进行旋转
        }
    }

}